home *** CD-ROM | disk | FTP | other *** search
- on enterFrame
- set i to field "type"
- case i of
- "Try Me":
- nothing()
- "Buy Me":
- puppetSprite(22, 1)
- set the member of sprite 22 to "buy3"
- end case
- set the itemDelimiter to "."
- set x to item 1 of field "whichbox"
- set the visible of sprite 29 to 0
- updateStage()
- case x of
- "box1":
- set the member of sprite 29 to member "Box1" of castLib "dbimages"
- "box2":
- set the member of sprite 29 to member "Box2" of castLib "dbimages"
- "box3":
- set the member of sprite 29 to member "Box3" of castLib "dbimages"
- "box4":
- set the member of sprite 29 to member "box4" of castLib "dbimages"
- "box5":
- set the member of sprite 29 to member "box5" of castLib "dbimages"
- "box6":
- set the member of sprite 29 to member "box6" of castLib "dbimages"
- "box7":
- set the member of sprite 29 to member "box7" of castLib "dbimages"
- "box8":
- set the member of sprite 29 to member "box8" of castLib "dbimages"
- "box9":
- set the member of sprite 29 to member "box9" of castLib "dbimages"
- "box10":
- set the member of sprite 29 to member "box10" of castLib "dbimages"
- "box11":
- set the member of sprite 29 to member "box11" of castLib "dbimages"
- "box12":
- set the member of sprite 29 to member "box12" of castLib "dbimages"
- "box13":
- set the member of sprite 29 to member "box13" of castLib "dbimages"
- "box14":
- set the member of sprite 29 to member "box14" of castLib "dbimages"
- "box15":
- set the member of sprite 29 to member "box15" of castLib "dbimages"
- "box16":
- set the member of sprite 29 to member "box16" of castLib "dbimages"
- "box17":
- set the member of sprite 29 to member "box17" of castLib "dbimages"
- "box18":
- set the member of sprite 29 to member "box18" of castLib "dbimages"
- "box19":
- set the member of sprite 29 to member "box19" of castLib "dbimages"
- "box20":
- set the member of sprite 29 to member "box20" of castLib "dbimages"
- end case
- set the visible of sprite 29 to 1
- updateStage()
- set the itemDelimiter to TAB
- end
-